package com.jeethink.role.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jeethink.role.mapper.ArgRoleMapper;
import com.jeethink.role.domain.ArgRole;
import com.jeethink.role.service.IArgRoleService;
import tk.mybatis.mapper.entity.Example;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author jeethink
 * @date 2020-10-14
 */
@Service
public class ArgRoleServiceImpl implements IArgRoleService 
{
    @Autowired
    private ArgRoleMapper argRoleMapper;


    @Override
    public List<ArgRole> selectArgRoleList(ArgRole argRole)
    {
        return argRoleMapper.selectArgRoleList(argRole);
    }

    @Override
    public int insertArgRole(ArgRole argRole) {
        return argRoleMapper.insertArgRole(argRole);
    }

    @Override
    public int delbyid(Long id) {

       return argRoleMapper.delbyid(id);
    }
    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public ArgRole selectArgRoleById(Long id)
    {
        return argRoleMapper.selectArgRoleById(id);
    }
    /**
     * 修改【请填写功能名称】
     *
     * @param argRole 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateArgRole(ArgRole argRole)
    {
        return argRoleMapper.updateArgRole(argRole);
    }

}
